 //
//  ApiResponse.h
//  ScoutIOS
//
//  Created by bigknife on 13-9-6.
//  Copyright (c) 2013年 bigknife. All rights reserved.
//
//ApiResponse 对请求响应数据的处理

#import <Foundation/Foundation.h>

@interface ApiResponse : NSObject
////源请求ID
@property (nonatomic,strong) NSString *requestId;
////成功失败标志
@property (nonatomic) BOOL success;
////处理代码
@property (nonatomic) int code;
////处理消息
@property (nonatomic, strong) NSString *msg;
////业务数据
@property (nonatomic,strong) id info;
////签名
@property (nonatomic,strong) NSString *sign;
////响应时间
@property (nonatomic) long responseTime;
//session
@property (nonatomic, strong) NSString *token;

//从dict中初始化
-(id) initWithDictionary:(NSDictionary *)dictionary;

@end
